package net.kunyv.entity;

import javafx.scene.Node;







public class WidgetPojo
{
    private String id;
    private String label;
    private String type;
    private boolean editable;
    private Node component;
    private double width;
    private Object widgetValue;

    public WidgetPojo() {}

    public WidgetPojo(String id, String label, double width) {
        this.id = id;
        this.label = label;
        this.width = width;
    }


    public WidgetPojo(double width, Node component) {
        this.width = width;
        this.component = component;
    }


    public String getLabel() { return this.label; }



    public void setLabel(String label) { this.label = label; }



    public String getType() { return this.type; }



    public void setType(String type) { this.type = type; }



    public boolean isEditable() { return this.editable; }



    public void setEditable(boolean editable) { this.editable = editable; }



    public String getId() { return this.id; }



    public void setId(String id) { this.id = id; }



    public Object getWidgetValue() { return this.widgetValue; }



    public void setWidgetValue(Object widgetValue) { this.widgetValue = widgetValue; }



    public Node getComponent() { return this.component; }




    public void setComponent(Node component) { this.component = component; }



    public double getWidth() { return this.width; }



    public void setWidth(double width) { this.width = width; }
}
